import request from "../utils/request";

export function getAllOrder(username) {
  return request({
    method: 'GET',
    url: `/order/all/${username}`
  })
}
export function getAllOrderById(orderID) {
  return request({
    method: 'GET',
    url: `/order/info/${orderID}`
  })
}